
-- 0 - disable debug info, 1 - less debug info, 2 - verbose debug info
DEBUG = 1

-- display FPS stats on screen
DEBUG_FPS = false

-- dump memory info every 10 seconds
DEBUG_MEM = false

-- load deprecated API
LOAD_DEPRECATED_API = false

-- load shortcodes API
LOAD_SHORTCODES_API = true
CC_USE_FRAMEWORK = true

CONFIG_SCREEN_ORIENTATION = "portrait"
CONFIG_SCREEN_WIDTH  = 960
CONFIG_SCREEN_HEIGHT = 540

CONFIG_SCREEN_AUTOSCALE_CALLBACK = function(w,h)
	if w/h >= CONFIG_SCREEN_WIDTH/CONFIG_SCREEN_HEIGHT then
		CONFIG_SCREEN_AUTOSCALE = "FIXED_HEIGHT"
	else
		CONFIG_SCREEN_AUTOSCALE = "FIXED_WIDTH"
	end
	return w / CONFIG_SCREEN_WIDTH, h / CONFIG_SCREEN_HEIGHT
end
